package user;

import operation.*;

import java.util.Scanner;

public class Samper extends User {

    public Samper() {
        super.iOperation=new IOperation[] {
                new ExitChild(),
                new Registerlist(),
                new SampleEnter(),
                new SearchSampled()
        };
    }

    @Override
    public int menu() {
        Scanner scanner = new Scanner(System.in);
        System.out.println("************* 欢迎来到核酸信息管理系统！ **************");
        System.out.println("1.查询已预约人员名单");
        System.out.println("2.采样信息录入");
        System.out.println("3.查询采样记录");
        System.out.println("0.退出当前系统");
        System.out.print("请选择你的操作：");
        int choice = scanner.nextInt();
        return choice;
    }
}
